Repository navigation
Conversation
|
Closing this upstream proposal because the Scottland Omarchy adapter PO has now selected session-scoped adapter interception for this task and ruled out a parallel upstream lane. The isolated regression evidence remains preserved; no upstream merge or installed behavior is claimed. |
[Medium impact] The PR appears safe to merge; the previous finding is addressed and no new actionable issues remain. SummaryPreserves Ghostty’s base font while changing desktop text size.
No new actionable issues were found in the changes since the previous review. Reviews (7) · Last reviewed commit: "Keep Ghostty coverage with the desktop h..." · Reviewed by Greptile |
|
Reviewed and verified on a worker VM built from the Omarchy ISO, with Ghostty 1.3.1 and Foot 1.28, measuring each terminal's cell size in pixels with Two commits pushed to the branch:
One thing for the maintainer to decide: anyone who already used the text-size control keeps the Ghostty size the old script wrote (12 after choosing 16, 8 after the Dell XPS 13 install's 11), and that value is now scaled again by the GTK factor. On the worker, a config left at 12 by the old script still draws 29×13 at size 16 with this branch, and Codex Medium reviewed the final branch as a second opinion. It agreed the fix is sound and proportionate and that the new test fails against the old script, and agreed the existing-user gap above is real; that agreement is not guaranteed independent. It also raised two points that did not hold up: that making the This also touches the same Ghostty reload line as #14900, so whichever lands second needs a small conflict resolved. Waiting on the maintainer. |
The command no longer writes Ghostty's font-size, so reading it first made `omarchy display text size` print 9 pt after setting 16px while every other terminal was at 12 pt. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
test/shell only runs test/shell.d/*-test.sh, so the Python test at test/ghostty-text-size-test.py never ran. The same checks now live there as a bash test: Ghostty's config and symlinks left alone through size and reset, no Ghostty reload signal, the other terminals still sized, the size report, and a refused GSettings write changing nothing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
aaea212 to
86a905b
Compare
|
Hello Omarchy maintainers — could someone review this PR when you have a chance? It is refreshed onto current |
|
I looked at this again after the rebase onto This pull request is not the only one fixing #14221. #14261 by @sanjyay was opened a week earlier, on Oct 4, and fixes the same double scaling a different way. It keeps writing Ghostty's For someone who has never used the text-size control, both fixes give the same result. The difference is everyone who already has. The old command left Ghostty at its own computed size: 12 after choosing 16, or 8 after the Dell XPS 13 install's size 11. With this branch that value stays and is scaled again by the GTK factor. On the Oct 17 worker run, a config left at 12 still drew 29×13 cells at size 16, the size #14221 reported, and The one thing this branch does that #14261 does not is keep a Ghostty size someone chose by hand. Our rule for competing fixes is that the older one wins unless the newer one is clearly better. Here the older one handles a case this one misses, so #14261 is the one omabot will verify and put to the maintainer. I have not added anything from this branch to it. #14261 already uses the GTK factor that actually took effect, so a failed write still leaves Ghostty at the right size. Making a failed Who checked this: Codex Medium and muse-wonder (via pi, thinking high) compared the two diffs as a second opinion, without being told my answer. Both picked #14261 for the same reason: it repairs sizes the old command wrote, and this branch does not. Their independence is not guaranteed. Codex Medium also agreed this is a bug. Thank you, @leftspin, for the thorough work and the tests. Choosing between the two is the maintainer's decision, and this pull request is waiting on them. |
Keep quattro's symlink-safe edits for the shell and other terminals. The Ghostty base size is left to the user, so check that desktop text sizing leaves its symlink target's font-size intact. Co-Authored-By: GPT-6.2 Sol <noreply@openai.com> Co-Authored-By: Opus 5.5 High <noreply@anthropic.com>
Run the text-size checks inside the existing desktop helpers suite. The subshell keeps the temporary HOME, mock commands, and cleanup isolated from the symlink and clipboard checks. Co-Authored-By: GPT-6.2 Sol <noreply@openai.com>
|
I resolved the conflict with On an Omarchy ISO worker with Ghostty 1.4.0, selecting desktop size 16 with the stock font went from 29×13-pixel cells on That custom-font case in #20723 is why I advanced this approach over #14261. The older fix compensates for double scaling by rewriting Ghostty’s size, which also repairs values previously written by the old command. This PR preserves both intentional settings and previously overwritten values, including on reset. The CLI, desktop helpers and monitor tests passed on the worker. The aggregate run also hit the same audio panel opening, OEM console logo and runtime smoke IPC failures reproduced on GPT-6.2 Sol in Codex ran the worker checks. Opus 5.5 High and muse-wonder via pi at high effort checked the competing fixes and both commits. They agreed on the trade-off and found no further defect in the changes. Their independence remains uncertain. |


Omarchy's text-size action changes both GTK's text-scaling factor and Ghostty's base
font-size. Ghostty follows GTK scaling too, so selecting 20px can compound a 15pt base into roughly 24.5pt effective text. Reset also overwrites a personal Ghostty base size.This keeps the shell and GTK text-size behavior, plus sizing for other terminals, while leaving Ghostty's config and reload signal alone. It checks the GSettings write before changing the shell or other terminal settings. Existing Ghostty values, including a 15pt value from a prior run, remain untouched; the command does not infer or migrate a personal preference.
./test/shell.d/ghostty-text-size-test.shpasses isolated HOME/GSettings checks for 20px, reset, a fresh-process read, stock and personal base sizes, a symlinked config, and failed GSettings writes.bash -n bin/omarchy-display-text-sizeandgit diff --checkpass. The original script fails the config-preservation test. Installed-session behavior has not been claimed.Fixes #14221
Fixes #20723